var express = require('express');
var async = require('async');
var router = express.Router();
var common = require('../model/common.js');
//获取省市县的数据
router.get('/getcity', function(req, res, next) {
    common.getcity(function(err, cities) {
        if (err) {
            console.log(err);
        } else {
            res.send(cities);
        }

    });

});

module.exports = router;
